package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

/**
 * @author Administrator
 * @date 2023/5/18 14:28
 */
public interface DishService extends IService<Dish> {
    public void saveWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);

    public void updateWithFlavor(DishDto dishDto);

    public  void removeWithFlavor(Long[] ids);
    public void query(Long[] ids);
    public void updateStateWithFlavor(Long[]ids,Integer id);
}
